package com.imti.mall.sale.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imti.mall.model.sms.pojo.SmsFlashPromotionSession;
import com.imti.mall.sale.mapper.SmsFlashPromotionSessionDynaSqlProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.UpdateProvider;

@Mapper
public interface SmsFlashPromotionSessionDao extends BaseMapper<SmsFlashPromotionSession> {
    /**
     * 根据id修改限时购场次表
     * @param smsFlashPromotionSession
     * @return
     */
    @UpdateProvider(type = SmsFlashPromotionSessionDynaSqlProvider.class, method = "updateSmsFlashPromotionSession")
    public Integer updateSmsFlashPromotionSession(SmsFlashPromotionSession smsFlashPromotionSession);
}
